package common

const (
	StatusRegisterSuccess = 2001	//注册成功
	StatusLoginSuccess = 2002	//登录成功
	StatusGetUserInfo = 2003
	StatusAddSuccess = 2004				//上架图书成功
	StatusDeleteSuccess = 2005
	StatusBorrowSuccess = 2006

	StatusRegisterUserHaveExist	= 4001	//注册失败，用户名已存在
	StatusLoginUserNotFound = 4002
	StatusLoginPwdError	=	4003
	StatusPermissionDeny = 4004
	StatusAddFailed = 4005
	StatusDeleteFailed = 4006
	StatusBookNotFound	= 4007
	StatusNotLogin = 4008
	StatusBorrowErr = 4009
	StatusReturnErr	= 4010



	StatusUnknown	= 5000
)
